
****DO-File for Collapsed Dataset Using Mean Values*************



* Collapse by cowcode and year: compute means and count observations
collapse (mean) PartyOrientiationValue PersonsStatusinPartyValue AI_Regulation_D AI_Jobs_D AI_Benefits_D AI_Training_D party_ideology_2 party_ideology AI_Regulation AI_Jobs AI_Benefits AI_Training ///
         (count) N_obs = AI_Regulation, by(cowcode Year)

		 
*****Setting Panel and Time variables******

xtset cowcode Year
		 
*******************************

Running Models		 

*************************************************

***Table SA 11********

xtreg AI_Regulation party_ideology, fe 

xtreg AI_Jobs party_ideology, fe 

xtreg AI_Regulation party_ideology_2, fe 

xtreg AI_Jobs party_ideology_2, fe 


****Table SA 12************


xtreg AI_Benefits party_ideology, fe 

xtreg AI_Training party_ideology, fe 

xtreg AI_Benefits party_ideology_2, fe 

xtreg AI_Training party_ideology_2, fe 


****************************************




